﻿namespace Sidvall.WorkItemManager.UI.ViewModels
{
    public partial class WorkConditionCollectionViewModel : Sidvall.WorkItemManager.UI.ViewModels.Core.EntityListViewModelBase<global::Sidvall.WorkItemManager.UI.Entities.WorkConditionCollection, global::Sidvall.WorkItemManager.UI.Entities.WorkCondition>
    {
        protected override string ViewModelResource
        {
            get 
            { 
                return global::Sidvall.WorkItemManager.Data.Model.DomainObjects.WorkCondition;
            }
        }

        protected override async System.Threading.Tasks.Task<global::Sidvall.WorkItemManager.UI.Entities.WorkConditionCollection> SaveItemAsync(global::Sidvall.WorkItemManager.UI.Entities.WorkConditionCollection item)
        {
            return await item.SaveItemsAsync();
        }
    }
}